package {{.PackageName}}.service

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import {{.PackageName}}.dto.{{.ClassName}}DTO;

public interface {{.ClassName}}Service {

    List<{{.ClassName}}DTO> findAll(Searchable searchable);

    Page<{{.ClassName}}DTO> search(Pageable pageable, Searchable searchable);

    {{.ClassName}}DTO create({{.ClassName}}DTO dto);

    {{.ClassName}}DTO update(Long id, {{.ClassName}}DTO dto);

    {{.ClassName}}DTO details(Long id);

    void delete(Long id);

    {{.ClassName}}DTO details(Long id);

}
